$inlinecom { }
$eolcom !
$setglobal runName         "Test45"
$setglobal runVersionName  "mds5"
$setglobal runVersionDesc  "High gas discovery"
$setglobal runVersionRGB   "255.0.255"

* mds1 'Sustainable path'   0.0.255
* mds2 'South Island wind'  255.0.0
* mds3 'Medium renewables'  0.255.0
* mds4 'Coal'               0.0.0
* mds5 'High gas discovery' 255.0.255

$setglobal GEMinputGDX     "standardGEMinput9LB.gdx"
$setglobal GEMnetworkGDX   "2RegionNetwork.gdx"
$setglobal GEMdemandGDX    "NRG_2Region9LB_Standard.gdx"

$setglobal GEMoverrideGDX  "mds5_Override.gdx"

$setglobal useOverrides     1
$setglobal sprsGEMsolve     0
$setglobal Mode             0

$setglobal GRscheduleFile  "C:\a\GEM\Output\testGR\Processed files\GRschedule - mds5_standardExp_timing_standardAvg.gms"
$setglobal GRscheduleRead   0

$setglobal ProgPath        "%system.fp%"
$setglobal DataPath        "%system.fp%..\Data\"
$setglobal OutPath         "%system.fp%..\Output\"

* Set LogMode to 0 if it hasn't already been set to 1 via invocation, e.g. gams GEMsolve --LogMode=1
* 0 ==> GAMSIDE will display log info in process window, capture it, and then subsequently archive it.
* 1 ==> log info written to a log file and subsequently archived (log info not echoed to command prompt).
$if not set LogMode $setglobal LogMode 1

* Flags to run the GEM codes better under the IDE (ide is used for all GEM programs except GEMsolve, which uses ideSolve).
$setglobal ide "ide=%gams.ide% lo=%gams.lo% errorlog=%gams.errorlog% errmsg=1"
$if %LogMode%==0 $setglobal ideSolve "ide=%gams.ide% lo=%gams.lo% rf=GEMsolve errorlog=%gams.errorlog% errmsg=1"
$if %LogMode%==1 $setglobal ideSolve "ide=%gams.ide% lo=2 lf=GEMsolve.log rf=GEMsolve errorlog=%gams.errorlog% errmsg=1"
